# 设定动态链接库的存储路径
IF(MSVC)
 set(LIB_OUT_PATH ${pwd}/build/bin/Plugins)
ELSE()
 set(LIB_OUT_PATH ${pwd}/build/bin/${CMAKE_BUILD_TYPE}/Plugins)
ENDIF()

# MESSAGE("${PROJECT_NAME} 库将生成在 ${LIB_OUT_PATH}")
SET(LIBRARY_OUTPUT_PATH  ${LIB_OUT_PATH})


# add_subdirectory(TpPlugin)
# add_subdirectory(TestPlugin)
add_subdirectory(ClearPlugin)   # 

add_subdirectory(BedWars)   # 起床战争
add_subdirectory(ChatLimitPlugin)   # 语言限制
# add_subdirectory(BaseTerrainPlugin)
add_subdirectory(BaseSubsystemPlugin)   # 
add_subdirectory(BaseComponentPlugin)   # 
add_subdirectory(BaseAntiCheatPlugin)   # 



add_subdirectory(FireNonDiffusionPlugin)    # 火焰不扩散
add_subdirectory(EconomyPlugin)
add_subdirectory(BaseItemPlugin)

add_subdirectory(BlockStrengthenPlugin)         # 方块强化

add_subdirectory(AntiMineralTracePlugin)      # 反矿物透视


add_subdirectory(ChestFortify)      # 会被破坏版锁箱子
# add_subdirectory(ChestLock)         # 锁箱子插件

add_subdirectory(MainCityProtection) # 主城保护插件
add_subdirectory(SpawnPlugin)        # 主城保护插件
add_subdirectory(SPPlugin)         # 设家回家插件

target_include_directories(${CMAKE_PROJECT_NAME} PRIVATE ".")